Skip to content

HDPI-6028: Gen App Help with Fees screens#1835

Open
scottstewart-sl wants to merge 8 commits into
HDPI-6528_exui_gen_app_interstitials_and_feesfrom
HDPI-6028_help_paying_fee
Open

HDPI-6028: Gen App Help with Fees screens#1835
scottstewart-sl wants to merge 8 commits into
HDPI-6528_exui_gen_app_interstitials_and_feesfrom
HDPI-6028_help_paying_fee

Conversation

@scottstewart-sl
Copy link
Copy Markdown
Contributor

Jira link

See HDPI-6028

Change description

Add Help with Fees screens for professional gen app journey.

Screenshots, (click to enlarge):

localhost_3000_cases_case-details_PCS_PCS_1778841401429415_trigger_makeAnApplication_makeAnApplicationhelpWithFeesNeeded localhost_3000_cases_case-details_PCS_PCS_1778841401429415_trigger_makeAnApplication_makeAnApplicationhelpWithFeesNeeded (2) localhost_3000_cases_case-details_PCS_PCS_1778841401429415_trigger_makeAnApplication_makeAnApplicationhelpWithFeesNeeded (3)

Testing done

Manual testing locally

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 16, 2026

CCD diff summary

👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/25957863111?check_suite_focus=true

AuthorisationCaseState.json

UserRoleCaseStateIDCRUD

[DEFENDANTSOLICITOR]

AWAITING_SUBMISSION_TO_HMCTS

-CRU 
+CRUD

[DEFENDANTSOLICITOR]

CASE_ISSUED

-CRU 
+CRUD

[DEFENDANTSOLICITOR]

PENDING_CASE_ISSUED

-CRU 
+CRUD

CaseField.json

RegularExpressionMaxSearchableMinFieldTypeParameterHintTextLabelIDFieldType
+
+
+
+
+
+
+---
+appliedForHelpWithFees-lineSeparator
+Label
+
+
+
+
+
+
+<p class="govuk-body">You cannot apply to suspend (stop or delay) an eviction online.</p>
<p class="govuk-body govuk-!-margin-bottom-1">You must apply by post:</p>
<ul class="govuk-list govuk-list--bullet">
    <li class="govuk-!-font-size-19">
        <a href="https://www.gov.uk/repossession/delay-eviction" target="_blank" rel="noopener noreferrer"
        class="govuk-link">read the guidance explaining how to suspend the eviction
         (GOV.UK, opens in a new tab)</a>
    </li>
    <li class="govuk-!-font-size-19">
        <a href="https://www.gov.uk/government/publications/form-n244-application-notice"
        target="_blank" rel="noopener noreferrer" class="govuk-link">fill in the N244 form</a>
    </li>
    <li class="govuk-!-font-size-19"><a href="https://www.gov.uk/find-court-tribunal" target="_blank"
        rel="noopener noreferrer" class="govuk-link">find the defendant’s local court</a>
    </li>
    <li class="govuk-!-font-size-19">
        send the completed form to the court, or deliver it by hand
    </li>
</ul>
+chooseAnApplication-info
+Label
+
+
+
+
+
+
+---
+chooseAnApplication-lineSeparator
+Label
+
+
+N
+
+
+
+ 
+currentRepresentedPartyId
+Text
+
+
+
+
+
+
+---
+documentUploadWanted-lineSeparator
+Label
+
+
+
+
+
+
+<div class="govuk-notification-banner" role="region" aria-labelledby="placeholder-banner">
  <div class="govuk-notification-banner__content">
    <p class="govuk-notification-banner__heading" id="placeholder-banner">
      Placeholder
    </p>
  </div>
</div>
+documentUploadWanted-placeholder
+Label
+
+
+
+
+
+
+---
+hearingInNext14Days-lineSeparator
+Label
+
+
+
+
+
+
+<p class="govuk-body">It usually costs ${xui_genapp_StandardFee} to apply. The fee will
increase to ${xui_genapp_MaxFee} if:</p>
<ul class="govuk-list govuk-list--bullet">
  <li class="govuk-!-font-size-19">the defendant has already told the other party that they are making
  this application, and</li>
  <li class="govuk-!-font-size-19">the other party did not agree to it
  (this means that they objected to it)</li>
</ul>
<p class="govuk-body">You’ll see the final application fee before you pay.</p>

<p class="govuk-body">The defendant may be able to get help paying the fee
if they (one or more of the following):</p>
<ul class="govuk-list govuk-list--bullet">
    <li class="govuk-!-font-size-19">are on certain benefits</li>
    <li class="govuk-!-font-size-19">have little or no savings</li>
    <li class="govuk-!-font-size-19">have low income</li>
</ul>
+helpWithFeesNeeded-info
+Label
+
+
+
+
+
+
+---
+helpWithFeesNeeded-lineSeparator
+Label
+
+
+N
+
+VerticalYesNo
+
+ 
+multipleRepresentedParties
+FixedRadioList
+
+
+
+
+
+
+---
+mustApplyForHelpWithFees-lineSeparator
+Label
+
+
+
+
+
+
+<p class="govuk-body">
    The defendant needs to <a href="https://www.gov.uk/get-help-with-court-fees" target="_blank"
    rel="noopener noreferrer" class="govuk-link">apply for Help with Fees (GOV.UK, opens in new tab)</a>
    before you can continue with this application. If you are applying for Help with Fees on the defendant’s
    behalf, you should do that now before you continue with this application.
</p>
<p class="govuk-body">
    Enter the court form number 'N244' when asked. This will be one of the first questions
    when you (or they) apply for Help with Fees.
</p>
<p class="govuk-body">
    After you (or they) have applied you (or they) will receive a Help With Fees reference number.
    Enter the reference number when you return to this application.
</p>
<p class="govuk-body">
    If they receive any benefit that qualifies them for Help with Fees, you (or they) must include
    evidence of it when you (or they) apply online for Help with Fees.
</p>
<p class="govuk-body">
    If you already have their Help with Fees reference number, you can return to the previous screen
    and enter it there.
</p>
+mustApplyForHelpWithFees-placeholder
+Label
+
+
+
+
+
+
+---
+otherPartiesAgreed-lineSeparator
+Label
+
+
+
+
+
+
+<div class="govuk-notification-banner" role="region" aria-labelledby="placeholder-banner">
  <div class="govuk-notification-banner__content">
    <p class="govuk-notification-banner__heading" id="placeholder-banner">
      Placeholder
    </p>
  </div>
</div>
+otherPartiesAgreed-placeholder
+Label
+
+
+N
+
+
+
+ 
+representedPartyNames
+DynamicRadioList
+
+
+
+
+
+
+---
+selectParty-lineSeparator
+Label
+
+
+
+
+
+
+<p class="govuk-body">
You can ask the court to adjourn (delay) the defendant’s court hearing (move it to a later date or time).
This means that you can ask to change the date and time when the hearing is due to take place.
</p>

<p class="govuk-body">
You will need to show that the defendant has a good reason to delay the hearing, and they may not be successful.
</p>

<h2 class="govuk-heading-m">What you’ll need to apply</h2>
<p class="govuk-body govuk-!-margin-bottom-1">
You’ll need to know:
</p>
<ul class="govuk-list govuk-list--bullet">
  <li class="govuk-!-font-size-19">if the defendant can pay the court fee, or if they need help with
   fees (help to pay court fees)</li>
  <li class="govuk-!-font-size-19">why the defendant is asking the court to delay the hearing</li>
  <li class="govuk-!-font-size-19">when they are proposing the hearing be moved to (if applicable)</li>
</ul>
<p class="govuk-body">You may need to provide some evidence for the court.</p>

<h2 class="govuk-heading-m">Before you start</h2>
<p class="govuk-body">Make sure that you have all of the evidence you need to apply.</p>
<p class="govuk-body">Once you start the application, you cannot save your progress as a draft.</p>
<p class="govuk-body">This means that if you leave the application before submitting, we will not save your
answers so that you can return to them later.</p>

<h2 class="govuk-heading-m">How long it takes</h2>
<p class="govuk-body">Your application will be assessed on an urgency basis and will be considered
by a judge before the hearing date.</p>

<h2 class="govuk-heading-m">How much it will cost</h2>
<p class="govuk-body">It's free to apply if the defendant’s court hearing is at least 14 days away.</p>
<p class="govuk-body">If your court hearing is sooner, they will need to
pay ${xui_genapp_StandardFee}.</p>
<p class="govuk-body govuk-!-margin-bottom-1">The fee will increase to ${xui_genapp_MaxFee} if:</p>
<ul class="govuk-list govuk-list--bullet">
  <li class="govuk-!-font-size-19">the defendant has already told the other party that they are making
  this application, and</li>
  <li class="govuk-!-font-size-19">the other party did not agree to it
  (this means that they objected to it)</li>
</ul>
<p class="govuk-body">You’ll see the final application fee before you pay.</p>

<h2 class="govuk-heading-m">If you are worried about the defendant paying fees</h2>
<p class="govuk-body">They may be eligible to apply for
<a href="https://www.gov.uk/get-help-with-court-fees" target="_blank" rel="noopener noreferrer"
class="govuk-link">help with fees (GOV.UK, opens in a new tab)</a>.
We will ask you if they want to do this when you apply.
<h2 class="govuk-heading-m">Apply by post</h2>
<p class="govuk-body">You cannot apply to suspend (stop or delay) the eviction online.</p>
<p class="govuk-body govuk-!-margin-bottom-1">You must apply by post:</p>

<ul class="govuk-list govuk-list--bullet">
    <li class="govuk-!-font-size-19">
        <a href="https://www.gov.uk/government/publications/form-n244-application-notice"
        target="_blank" rel="noopener noreferrer" class="govuk-link">fill in the N244 form</a>
    </li>
    <li class="govuk-!-font-size-19"><a href="https://www.gov.uk/find-court-tribunal" target="_blank"
        rel="noopener noreferrer" class="govuk-link">find the defendant’s local court</a>
    </li>
    <li class="govuk-!-font-size-19">
        send the completed form to the court
    </li>
</ul>
+startAdjourn-info
+Label
+
+
+
+
+
+
+---
+startAdjourn-lineSeparator
+Label
+
+
+
+
+
+
+<p class="govuk-body">
You can ask the court to set aside (cancel) an order if the defendant has a good reason. For example, if they
were unable to attend the original court hearing, because they were ill.
</p>

<p class="govuk-body">
You will need to show that the defendant has a good reason to ask the court to set aside the order, and
they may not be successful.
</p>

<h2 class="govuk-heading-m">What you’ll need to apply</h2>
<p class="govuk-body govuk-!-margin-bottom-1">
You’ll need to know:
</p>
<ul class="govuk-list govuk-list--bullet">
  <li class="govuk-!-font-size-19">if the defendant can pay the court fee, or if they need help with
   fees (help to pay court fees)</li>
  <li class="govuk-!-font-size-19">why the defendant is asking the court to set aside the original decision</li>
</ul>
<p class="govuk-body">You may need to provide some evidence for the court.</p>

<h2 class="govuk-heading-m">Before you start</h2>
<p class="govuk-body">Make sure that you have all of the evidence you need to apply.</p>
<p class="govuk-body">Once you start the application, you cannot save your progress as a draft.</p>
<p class="govuk-body">This means that if you leave the application before submitting, we will not save your
answers so that you can return to them later.</p>

<h2 class="govuk-heading-m">How much it will cost</h2>
<p class="govuk-body">It usually costs ${xui_genapp_StandardFee} to apply. The fee will
increase to ${xui_genapp_MaxFee} if:</p>
<ul class="govuk-list govuk-list--bullet">
  <li class="govuk-!-font-size-19">the defendant has already told the other party that they are making
  this application, and</li>
  <li class="govuk-!-font-size-19">the other party did not agree to it
  (this means that they objected to it)</li>
</ul>
<p class="govuk-body">You’ll see the final application fee before you pay.</p>

<h2 class="govuk-heading-m">If you are worried about the defendant paying fees</h2>
<p class="govuk-body">They may be eligible to apply for
<a href="https://www.gov.uk/get-help-with-court-fees" target="_blank" rel="noopener noreferrer"
class="govuk-link">help with fees (GOV.UK, opens in a new tab)</a>.
We will ask you if they want to do this when you apply.

<h2 class="govuk-heading-m">Apply by post</h2>
<p class="govuk-body">You cannot apply to suspend (stop or delay) the eviction online.</p>
<p class="govuk-body govuk-!-margin-bottom-1">You must apply by post:</p>

<ul class="govuk-list govuk-list--bullet">
    <li class="govuk-!-font-size-19">
        <a href="https://www.gov.uk/government/publications/form-n244-application-notice"
        target="_blank" rel="noopener noreferrer" class="govuk-link">fill in the N244 form</a>
    </li>
    <li class="govuk-!-font-size-19"><a href="https://www.gov.uk/find-court-tribunal" target="_blank"
        rel="noopener noreferrer" class="govuk-link">find the defendant’s local court</a>
    </li>
    <li class="govuk-!-font-size-19">
        send the completed form to the court
    </li>
</ul>
+startSetAside-info
+Label
+
+
+
+
+
+
+---
+startSetAside-lineSeparator
+Label
+
+
+
+
+
+
+<p class="govuk-body">
The defendant can ask the court to make a decision at any point during their case.
This is called an application.
</p>
<p class="govuk-body">For example, they can use this to:</p>

<ul class="govuk-list govuk-list--bullet">
<li class="govuk-!-font-size-19">add someone as an extra party to their claim</li>
<li class="govuk-!-font-size-19">ask the court not to punish them for
   breaching an order (relief from sanctions)</li>
<li class="govuk-!-font-size-19">serve a claim outside England & Wales</li>
<li class="govuk-!-font-size-19">transfer to the High Court for enforcement by a writ of possession</li>
</ul>

<div class="govuk-warning-text govuk-!-margin-bottom-1">
  <span class="govuk-warning-text__icon" aria-hidden="true">!</span>
  <strong class="govuk-warning-text__text">
    <span class="govuk-visually-hidden">Warning</span>
    You cannot apply to suspend (stop or delay) the eviction online.
  </strong>
</div>

<p class="govuk-body govuk-!-margin-bottom-1">To apply by post:</p>
<ul class="govuk-list govuk-list--bullet">
    <li class="govuk-!-font-size-19">
        <a href="https://www.gov.uk/repossession/delay-eviction" target="_blank" rel="noopener noreferrer"
        class="govuk-link">read the guidance explaining how to suspend the eviction
         (GOV.UK, opens in a new tab)</a>
    </li>
    <li class="govuk-!-font-size-19">
        <a href="https://www.gov.uk/government/publications/form-n244-application-notice"
        target="_blank" rel="noopener noreferrer" class="govuk-link">fill in the N244 form</a>
    </li>
</ul>

<h2 class="govuk-heading-m">What you’ll need to apply</h2>
<p class="govuk-body govuk-!-margin-bottom-1">
You’ll need to know:
</p>
<ul class="govuk-list govuk-list--bullet">
  <li class="govuk-!-font-size-19">if the defendant can pay the court fee, or if they need help with
   fees (help to pay court fees)</li>
  <li class="govuk-!-font-size-19">what they want the court to do</li>
  <li class="govuk-!-font-size-19">why they are asking the court to do it, for example any evidence
  they have to support their application</li>
</ul>

<p class="govuk-body">You may need to provide some evidence for the court.</p>

<h2 class="govuk-heading-m">Before you start</h2>
<p class="govuk-body">Make sure that you have all of the evidence you need to apply.</p>
<p class="govuk-body">Once you start the application, you cannot save your progress as a draft.</p>
<p class="govuk-body">This means that if you leave the application before submitting, we will not save your
answers so that you can return to them later.</p>

<h2 class="govuk-heading-m">How much it will cost</h2>
<p class="govuk-body">It usually costs ${xui_genapp_StandardFee} to apply.</p>
<p class="govuk-body govuk-!-margin-bottom-1">The fee will increase to ${xui_genapp_MaxFee} if:</p>
<ul class="govuk-list govuk-list--bullet">
  <li class="govuk-!-font-size-19">the defendant has already told the other party that they are making
  this application, and</li>
  <li class="govuk-!-font-size-19">the other party did not agree to it
  (this means that they objected to it)</li>
</ul>
<p class="govuk-body">You’ll see the final application fee before you pay.</p>

<h2 class="govuk-heading-m">If you are worried about the defendant paying fees</h2>
<p class="govuk-body">They may be eligible to apply for
<a href="https://www.gov.uk/get-help-with-court-fees" target="_blank" rel="noopener noreferrer"
class="govuk-link">help with fees (GOV.UK, opens in a new tab)</a>.
We will ask you if they want to do this when you apply.

<h2 class="govuk-heading-m">Apply by post</h2>
<p class="govuk-body">You cannot apply to suspend (stop or delay) the eviction online.</p>
<p class="govuk-body govuk-!-margin-bottom-1">You must apply by post:</p>

<ul class="govuk-list govuk-list--bullet">
    <li class="govuk-!-font-size-19">
        <a href="https://www.gov.uk/government/publications/form-n244-application-notice"
        target="_blank" rel="noopener noreferrer" class="govuk-link">fill in the N244 form</a>
    </li>
    <li class="govuk-!-font-size-19"><a href="https://www.gov.uk/find-court-tribunal" target="_blank"
        rel="noopener noreferrer" class="govuk-link">find the defendant’s local court</a>
    </li>
    <li class="govuk-!-font-size-19">
        send the completed form to the court
    </li>
</ul>
+startSomethingElse-info
+Label
+
+
+
+
+
+
+---
+startSomethingElse-lineSeparator
+Label
+
+
+
+
+
+
+---
+statementOfTruth-lineSeparator
+Label
+
+
+
+
+
+
+<div class="govuk-notification-banner" role="region" aria-labelledby="placeholder-banner">
  <div class="govuk-notification-banner__content">
    <p class="govuk-notification-banner__heading" id="placeholder-banner">
      Placeholder
    </p>
  </div>
</div>
+statementOfTruth-placeholder
+Label
+
+
+
+
+
+
+---
+whatOrderWanted-lineSeparator
+Label
+
+
+
+
+
+
+<div class="govuk-notification-banner" role="region" aria-labelledby="placeholder-banner">
  <div class="govuk-notification-banner__content">
    <p class="govuk-notification-banner__heading" id="placeholder-banner">
      Placeholder
    </p>
  </div>
</div>
+whatOrderWanted-placeholder
+Label
+
+
+
+
+
+
+---
+whichLanguage-lineSeparator
+Label
+
+
+
+
+
+
+<div class="govuk-notification-banner" role="region" aria-labelledby="placeholder-banner">
  <div class="govuk-notification-banner__content">
    <p class="govuk-notification-banner__heading" id="placeholder-banner">
      Placeholder
    </p>
  </div>
</div>
+whichLanguage-placeholder
+Label
+
+
+
+
+GenAppType
+
+What do you want to apply for?
+xui_genapp_ApplicationType
+FixedRadioList
+
+
+
+
+VerticalYesNo
+
+Have they already applied for help with their application fee?
+xui_genapp_AppliedForHwf
+FixedRadioList
+
+60
+
+
+
+The defendant will have received this number when they applied for Help with Fees. This reference must not have been used for a previous application. For example, HWF-A1B-23C
+Enter their Help with Fees reference number
+xui_genapp_HwfReference
+Text
+
+
+
+
+LanguageUsed
+
+ 
+xui_genapp_LanguageUsed
+FixedRadioList
+
+
+N
+
+
+
+ 
+xui_genapp_MaxFee
+Text
+
+
+
+
+VerticalYesNo
+
+Does the defendant need help paying the fee for this application?
+xui_genapp_NeedHwf
+FixedRadioList
+
+
+
+
+VerticalYesNo
+
+ 
+xui_genapp_OtherPartiesAgreed
+FixedRadioList
+
+
+N
+
+VerticalYesNo
+
+ 
+xui_genapp_ShowHwfScreens
+FixedRadioList
+
+
+
+
+VerticalYesNo
+
+ 
+xui_genapp_SotAccepted
+FixedRadioList
+
+100
+
+
+
+
+ 
+xui_genapp_SotFullName
+Text
+
+
+N
+
+
+
+ 
+xui_genapp_StandardFee
+Text
+
+6800
+
+
+
+
+ 
+xui_genapp_WhatOrderWanted
+Text
+
+
+
+
+VerticalYesNo
+This will affect the fee you will invoice to the defendant. They will not need to pay a fee if their court hearing is (at least) 14 days away.
+Is the defendant’s court hearing in the next 14 days?
+xui_genapp_Within14Days
+FixedRadioList
+
+
+
+
+VerticalYesNo
+
+ 
+xui_genapp_WithoutNotice
+FixedRadioList
+
+6800
+
+
+
+
+ 
+xui_genapp_WithoutNoticeReason
+Text

AuthorisationCaseEvent/AuthorisationCaseEvent.json

UserRoleCaseEventIDCRUD
+[DEFENDANTSOLICITOR]
+makeAnApplication
+CRUD
+[DEFENDANT]
+makeAnApplication
+CRUD
-[DEFENDANT]
-citizenCreateGenApp
-CRUD

AuthorisationCaseField/DEFENDANTSOLICITOR.json

UserRoleCaseFieldIDCRUD
+[DEFENDANTSOLICITOR]
+appliedForHelpWithFees-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+chooseAnApplication-info
+CR
+[DEFENDANTSOLICITOR]
+chooseAnApplication-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+currentRepresentedPartyId
+CRUD
+[DEFENDANTSOLICITOR]
+documentUploadWanted-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+documentUploadWanted-placeholder
+CR
+[DEFENDANTSOLICITOR]
+hearingInNext14Days-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+helpWithFeesNeeded-info
+CR
+[DEFENDANTSOLICITOR]
+helpWithFeesNeeded-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+multipleRepresentedParties
+CRUD
+[DEFENDANTSOLICITOR]
+mustApplyForHelpWithFees-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+mustApplyForHelpWithFees-placeholder
+CR
+[DEFENDANTSOLICITOR]
+otherPartiesAgreed-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+otherPartiesAgreed-placeholder
+CR
+[DEFENDANTSOLICITOR]
+representedPartyNames
+CRUD
+[DEFENDANTSOLICITOR]
+selectParty-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+startAdjourn-info
+CR
+[DEFENDANTSOLICITOR]
+startAdjourn-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+startSetAside-info
+CR
+[DEFENDANTSOLICITOR]
+startSetAside-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+startSomethingElse-info
+CR
+[DEFENDANTSOLICITOR]
+startSomethingElse-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+statementOfTruth-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+statementOfTruth-placeholder
+CR
+[DEFENDANTSOLICITOR]
+whatOrderWanted-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+whatOrderWanted-placeholder
+CR
+[DEFENDANTSOLICITOR]
+whichLanguage-lineSeparator
+CR
+[DEFENDANTSOLICITOR]
+whichLanguage-placeholder
+CR
+[DEFENDANTSOLICITOR]
+xui_genapp_ApplicationType
+CRUD
+[DEFENDANTSOLICITOR]
+xui_genapp_AppliedForHwf
+CRUD
+[DEFENDANTSOLICITOR]
+xui_genapp_HwfReference
+CRUD
+[DEFENDANTSOLICITOR]
+xui_genapp_MaxFee
+CRUD
+[DEFENDANTSOLICITOR]
+xui_genapp_NeedHwf
+CRUD
+[DEFENDANTSOLICITOR]
+xui_genapp_ShowHwfScreens
+CRUD
+[DEFENDANTSOLICITOR]
+xui_genapp_StandardFee
+CRUD
+[DEFENDANTSOLICITOR]
+xui_genapp_Within14Days
+CRUD

AuthorisationCaseField/DEFENDANT.json

UserRoleCaseFieldIDCRUD
+[DEFENDANT]
+appliedForHelpWithFees-lineSeparator
+CR
+[DEFENDANT]
+chooseAnApplication-info
+CR
+[DEFENDANT]
+chooseAnApplication-lineSeparator
+CR
+[DEFENDANT]
+currentRepresentedPartyId
+CRUD
+[DEFENDANT]
+documentUploadWanted-lineSeparator
+CR
+[DEFENDANT]
+documentUploadWanted-placeholder
+CR
+[DEFENDANT]
+hearingInNext14Days-lineSeparator
+CR
+[DEFENDANT]
+helpWithFeesNeeded-info
+CR
+[DEFENDANT]
+helpWithFeesNeeded-lineSeparator
+CR
+[DEFENDANT]
+multipleRepresentedParties
+CRUD
+[DEFENDANT]
+mustApplyForHelpWithFees-lineSeparator
+CR
+[DEFENDANT]
+mustApplyForHelpWithFees-placeholder
+CR
+[DEFENDANT]
+otherPartiesAgreed-lineSeparator
+CR
+[DEFENDANT]
+otherPartiesAgreed-placeholder
+CR
+[DEFENDANT]
+representedPartyNames
+CRUD
+[DEFENDANT]
+selectParty-lineSeparator
+CR
+[DEFENDANT]
+startAdjourn-info
+CR
+[DEFENDANT]
+startAdjourn-lineSeparator
+CR
+[DEFENDANT]
+startSetAside-info
+CR
+[DEFENDANT]
+startSetAside-lineSeparator
+CR
+[DEFENDANT]
+startSomethingElse-info
+CR
+[DEFENDANT]
+startSomethingElse-lineSeparator
+CR
+[DEFENDANT]
+statementOfTruth-lineSeparator
+CR
+[DEFENDANT]
+statementOfTruth-placeholder
+CR
+[DEFENDANT]
+whatOrderWanted-lineSeparator
+CR
+[DEFENDANT]
+whatOrderWanted-placeholder
+CR
+[DEFENDANT]
+whichLanguage-lineSeparator
+CR
+[DEFENDANT]
+whichLanguage-placeholder
+CR
+[DEFENDANT]
+xui_genapp_ApplicationType
+CRUD
+[DEFENDANT]
+xui_genapp_AppliedForHwf
+CRUD
+[DEFENDANT]
+xui_genapp_HwfReference
+CRUD
+[DEFENDANT]
+xui_genapp_MaxFee
+CRUD
+[DEFENDANT]
+xui_genapp_NeedHwf
+CRUD
+[DEFENDANT]
+xui_genapp_ShowHwfScreens
+CRUD
+[DEFENDANT]
+xui_genapp_StandardFee
+CRUD
+[DEFENDANT]
+xui_genapp_Within14Days
+CRUD

CaseEvent/citizenCreateGenApp.json

ShowSummaryShowEventNotesPublishPreConditionState(s)PostConditionStateNameIDEventEnablingConditionEndButtonLabelDescription
-Y
-N
-N
-*
-*
-Create a General Application
-citizenCreateGenApp
-[STATE]="NEVER_SHOW"
-Save and continue
-Create a General Application

CaseEvent/makeAnApplication.json

CallBackURLAboutToStartEventDescriptionEndButtonLabelIDNamePostConditionStatePreConditionState(s)PublishShowEventNotesShowSummary
+http://localhost:3206/callbacks/about-to-start?eventId=makeAnApplication
+Make an application
+Save and continue
+makeAnApplication
+Make an application
+*
+*
+N
+N
+Y

CaseEventToFields/makeAnApplication.json

CaseEventIDCaseFieldIDDisplayContextPageColumnNumberPageDisplayOrderPageFieldDisplayOrderPageIDPageLabelPageShowCondition
+makeAnApplication
+appliedForHelpWithFees-lineSeparator
+READONLY
+1
+8
+1
+appliedForHelpWithFees
+Have they already applied for help with their application fee?
+xui_genapp_ShowHwfScreens="YES" AND xui_genapp_NeedHwf="YES"
+makeAnApplication
+chooseAnApplication-info
+READONLY
+1
+1
+2
+chooseAnApplication
+Choose an application
+makeAnApplication
+chooseAnApplication-lineSeparator
+READONLY
+1
+1
+1
+chooseAnApplication
+Choose an application
+makeAnApplication
+currentRepresentedPartyId
+READONLY
+[STATE]="NEVER_SHOW"
+1
+13
+3
+whichLanguage
+Which language did you use to complete this service?
+Y
+Y
+makeAnApplication
+documentUploadWanted-lineSeparator
+READONLY
+1
+12
+1
+documentUploadWanted
+Do you want to upload documents to support the defendant’s application? (Optional)
+makeAnApplication
+documentUploadWanted-placeholder
+READONLY
+1
+12
+2
+documentUploadWanted
+Do you want to upload documents to support the defendant’s application? (Optional)
+http://localhost:3206/callbacks/mid-event?page=hearingInNext14Days&eventId=makeAnApplication
+makeAnApplication
+hearingInNext14Days-lineSeparator
+READONLY
+1
+6
+1
+hearingInNext14Days
+Is the defendant’s court hearing in the next 14 days?
+xui_genapp_ApplicationType="ADJOURN"
+makeAnApplication
+helpWithFeesNeeded-info
+READONLY
+1
+7
+2
+helpWithFeesNeeded
+Confirm if the defendant needs help paying fees
+makeAnApplication
+helpWithFeesNeeded-lineSeparator
+READONLY
+1
+7
+1
+helpWithFeesNeeded
+Confirm if the defendant needs help paying fees
+xui_genapp_ShowHwfScreens="YES"
+makeAnApplication
+multipleRepresentedParties
+READONLY
+[STATE]="NEVER_SHOW"
+1
+5
+2
+selectParty
+Applicant
+Y
+http://localhost:3206/callbacks/mid-event?page=mustApplyForHelpWithFees&eventId=makeAnApplication
+makeAnApplication
+mustApplyForHelpWithFees-lineSeparator
+READONLY
+1
+9
+1
+mustApplyForHelpWithFees
+The defendant needs to apply for help with their application fee
+xui_genapp_ShowHwfScreens="YES" AND xui_genapp_NeedHwf="YES" AND xui_genapp_AppliedForHwf="NO"
+makeAnApplication
+mustApplyForHelpWithFees-placeholder
+READONLY
+1
+9
+2
+mustApplyForHelpWithFees
+The defendant needs to apply for help with their application fee
+makeAnApplication
+otherPartiesAgreed-lineSeparator
+READONLY
+1
+10
+1
+otherPartiesAgreed
+Has the defendant asked the other parties if they agree to this application?
+makeAnApplication
+otherPartiesAgreed-placeholder
+READONLY
+1
+10
+2
+otherPartiesAgreed
+Has the defendant asked the other parties if they agree to this application?
+Which party is making the application?
+makeAnApplication
+representedPartyNames
+MANDATORY
+1
+5
+3
+selectParty
+Applicant
+Y
+makeAnApplication
+selectParty-lineSeparator
+READONLY
+1
+5
+1
+selectParty
+Applicant
+multipleRepresentedParties="YES"
+makeAnApplication
+startAdjourn-info
+READONLY
+1
+2
+2
+startAdjourn
+Ask to adjourn (delay) the court hearing on behalf of a defendant
+makeAnApplication
+startAdjourn-lineSeparator
+READONLY
+1
+2
+1
+startAdjourn
+Ask to adjourn (delay) the court hearing on behalf of a defendant
+xui_genapp_ApplicationType="ADJOURN"
+makeAnApplication
+startSetAside-info
+READONLY
+1
+3
+2
+startSetAside
+Ask the court to set aside (cancel) an order on behalf of a defendant
+makeAnApplication
+startSetAside-lineSeparator
+READONLY
+1
+3
+1
+startSetAside
+Ask the court to set aside (cancel) an order on behalf of a defendant
+xui_genapp_ApplicationType="SET_ASIDE"
+makeAnApplication
+startSomethingElse-info
+READONLY
+1
+4
+2
+startSomethingElse
+Ask the court to make an order on behalf of a defendant
+makeAnApplication
+startSomethingElse-lineSeparator
+READONLY
+1
+4
+1
+startSomethingElse
+Ask the court to make an order on behalf of a defendant
+xui_genapp_ApplicationType="SOMETHING_ELSE"
+makeAnApplication
+statementOfTruth-lineSeparator
+READONLY
+1
+14
+1
+statementOfTruth
+Statement of truth
+makeAnApplication
+statementOfTruth-placeholder
+READONLY
+1
+14
+2
+statementOfTruth
+Statement of truth
+makeAnApplication
+whatOrderWanted-lineSeparator
+READONLY
+1
+11
+1
+whatOrderWanted
+What order does the defendant want the court to make, and why?
+makeAnApplication
+whatOrderWanted-placeholder
+READONLY
+1
+11
+2
+whatOrderWanted
+What order does the defendant want the court to make, and why?
+http://localhost:3206/callbacks/mid-event?page=whichLanguage&eventId=makeAnApplication
+makeAnApplication
+whichLanguage-lineSeparator
+READONLY
+1
+13
+1
+whichLanguage
+Which language did you use to complete this service?
+makeAnApplication
+whichLanguage-placeholder
+READONLY
+1
+13
+2
+whichLanguage
+Which language did you use to complete this service?
+makeAnApplication
+xui_genapp_ApplicationType
+MANDATORY
+1
+1
+6
+chooseAnApplication
+Choose an application
+Y
+makeAnApplication
+xui_genapp_AppliedForHwf
+MANDATORY
+1
+8
+2
+appliedForHelpWithFees
+Have they already applied for help with their application fee?
+Y
+makeAnApplication
+xui_genapp_HwfReference
+MANDATORY
+xui_genapp_AppliedForHwf="YES"
+1
+8
+3
+appliedForHelpWithFees
+Have they already applied for help with their application fee?
+Y
+makeAnApplication
+xui_genapp_MaxFee
+READONLY
+[STATE]="NEVER_SHOW"
+1
+1
+4
+chooseAnApplication
+Choose an application
+Y
+Y
+makeAnApplication
+xui_genapp_NeedHwf
+MANDATORY
+1
+7
+3
+helpWithFeesNeeded
+Confirm if the defendant needs help paying fees
+Y
+makeAnApplication
+xui_genapp_ShowHwfScreens
+READONLY
+[STATE]="NEVER_SHOW"
+1
+1
+5
+chooseAnApplication
+Choose an application
+Y
+Y
+makeAnApplication
+xui_genapp_StandardFee
+READONLY
+[STATE]="NEVER_SHOW"
+1
+1
+3
+chooseAnApplication
+Choose an application
+Y
+Y
+makeAnApplication
+xui_genapp_Within14Days
+MANDATORY
+1
+6
+2
+hearingInNext14Days
+Is the defendant’s court hearing in the next 14 days?
+Y

FixedLists/GenAppType.json

ListElementCodeListElementID
-SUSPEND
-SUSPEND
-GenAppType

ADJOURN

-ADJOURN 
+Adjourn (delay) the hearing - You can apply to change the defendant’s court hearing until a later time or date

GenAppType

SET_ASIDE

-SET_ASIDE 
+Ask the court to set aside (cancel) a decision the court has made - You can ask the court to set aside its order if the defendant has a good reason. For example, if they were unable to attend the court hearing because they were ill

GenAppType

SOMETHING_ELSE

-SOMETHING_ELSE 
+Something else - Make an application for something that is not listed above

GenAppType

@scottstewart-sl scottstewart-sl changed the base branch from master to HDPI-6528_exui_gen_app_interstitials_and_fees May 16, 2026 09:02
@scottstewart-sl scottstewart-sl marked this pull request as ready for review May 18, 2026 07:05
@scottstewart-sl scottstewart-sl requested review from a team as code owners May 18, 2026 07:05
@scottstewart-sl scottstewart-sl requested review from arun-hmcts, benouaer and guygrewal77 and removed request for a team May 18, 2026 07:05
}

@Test
void shouldShowHwfScreensFlagToYes() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be shouldSetShowHwfScreensFlagToYes ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated now.

fieldEquals("xui_genapp_AppliedForHwf", VerticalYesNo.NO)
))
.label("mustApplyForHelpWithFees-lineSeparator", "---")
.label("mustApplyForHelpWithFees-placeholder", INFO_MARKDOWN);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should label be mustApplyForHelpWithFees-info like helpWithFeesNeeded-info above?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - updated now

@tvr-hmcts tvr-hmcts self-requested a review May 18, 2026 15:11
Signed-off-by: sstewart <202802468+scottstewart-sl@users.noreply.github.com>
Signed-off-by: sstewart <202802468+scottstewart-sl@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants